<?php

namespace channel;
use app\model\Order;
use think\Db;
class Yunlai{

	private  static $mch_id = '123456';//商户号

    private  static $KEY = '123456';//秘钥

    private static $URL='http://www.baidu.com';//请求地址

    
	/**
     * Undocumented 请求上游支付接口
     *
     * @param [type] $data 
     * @param [type] $code 支付类型编码
     * @return void
     */
	public static function create_order($data,$code){
        
        $base64img = get_qrcode('http://www.baidu.com');
        get_pc_html($base64img,$data['systen_no'],$data['total_amount'],'微信扫码');
        
	}
	 //签名
    public static function get_sgin($obj){

        $sign = self::$KEY;
        
        return $sign;
    }
    /**
     * Undocumented function
     *
     * @param [type] $data 回调数据
     * @return void
     */
    public static function create_notify($data){
        
        
        echo 'success';
    }
	
	
}










?>